package com.yzd.netmonitor.model;

import java.io.Serializable;
import java.util.List;

public class AsstClient implements Serializable{
	private static final long serialVersionUID = 3L;
	private Integer id;
	private String uuid;
	private String hostName;
	private String clientIp;
	private Long registerTime;
	private Long lastRequestTime;
	private Boolean onLineState;
	private Integer healthValue;
	
	
	//助手消息和助手IP多对对关系
	private List<AsstMessage> message;
	
	//助手xml和助手IP多对对关系
	private List<XmlPath> xmlPath;
	
	public AsstClient() {
	
	}
	
	public AsstClient(Integer id, String uuid, String hostName, String clientIp, Long registerTime,
			Long lastRequestTime, Boolean onLineState, Integer healthValue, List<AsstMessage> message,
			List<XmlPath> xmlPath) {
		super();
		this.id = id;
		this.uuid = uuid;
		this.hostName = hostName;
		this.clientIp = clientIp;
		this.registerTime = registerTime;
		this.lastRequestTime = lastRequestTime;
		this.onLineState = onLineState;
		this.healthValue = healthValue;
		this.message = message;
		this.xmlPath = xmlPath;
	}

	public List<AsstMessage> getMessage() {
		return message;
	}

	public void setMessage(List<AsstMessage> message) {
		this.message = message;
	}

	public List<XmlPath> getXmlPath() {
		return xmlPath;
	}

	public void setXmlPath(List<XmlPath> xmlPath) {
		this.xmlPath = xmlPath;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public String getClientIp() {
		return clientIp;
	}

	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}

	public Long getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Long registerTime) {
		this.registerTime = registerTime;
	}

	public Long getLastRequestTime() {
		return lastRequestTime;
	}

	public void setLastRequestTime(Long lastRequestTime) {
		this.lastRequestTime = lastRequestTime;
	}

	public Boolean getOnLineState() {
		return onLineState;
	}

	public void setOnLineState(Boolean onLineState) {
		this.onLineState = onLineState;
	}

	public Integer getHealthValue() {
		return healthValue;
	}

	public void setHealthValue(Integer healthValue) {
		this.healthValue = healthValue;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "AsstClient [id=" + id + ", uuid=" + uuid + ", hostName=" + hostName + ", clientIp=" + clientIp
				+ ", registerTime=" + registerTime + ", lastRequestTime=" + lastRequestTime + ", onLineState="
				+ onLineState + ", healthValue=" + healthValue + ", message=" + message + ", xmlPath=" + xmlPath + "]";
	}

	
}
